project('Wi-Fi Party Linux','cpp')

gtk=dependency('gtkmm-3.0')
pulseaudio=dependency('libpulse')
pthread=dependency('threads')

executable('wfp-cli',
    ['main.cpp','libwifiparty/trackreceiver.cpp','party-protocol/channel.cpp','party-protocol/packet.cpp','party-protocol/receiver.cpp'],
    dependencies: [pulseaudio,pthread],
    install: true,
)

executable('wfp',
    ['uigtk.cpp','libwifiparty/trackreceiver.cpp','party-protocol/channel.cpp','party-protocol/packet.cpp','party-protocol/receiver.cpp'],
    dependencies: [gtk,pulseaudio,pthread],
    install: true,
)
